<?php
require_once dirname(__FILE__)."/../init.php";

$contactId = $_POST['contactId'];
ServiceFactory::getContactService()->deleteById($contactId);

?>
<fb:redirect url="index.php?_page=contacts&operation=delete&success=true" />
